package com.newtouch.cq.lang.user;

import com.newtouch.cq.lang.em.StatusEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class BaseUserDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    protected long id;
    protected String username;
    protected String userKey;
    protected String tokenKey;
    //	protected String avatarUrl;
    protected String password;
    protected String salt;
    protected StatusEnum status;
    //	protected String label;
//	protected String delFlag;
    protected long orgId;
    protected long timeout;
    protected List<Long> orgIdList;
}
